dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a0336d
)
update html DOCTYPE sent by HttpError exception
author
Antoine Musso
<hashar@free.fr>
Fri, 20 Apr 2012 12:55:23 +0000
(14:55 +0200)
committer
Antoine Musso
<hashar@free.fr>
Fri, 20 Apr 2012 12:55:23 +0000
(14:55 +0200)
Follow up r110486, which updated doctype sent by wfHttpError()
Change-Id: I0e89420dd95edcf1ac76e3984b36f92df11cdb3f
includes/Exception.php
patch
|
blob
|
history
diff --git
a/includes/Exception.php
b/includes/Exception.php
index
c75da5a
..
2d1772b
100644
(file)
--- a/
includes/Exception.php
+++ b/
includes/Exception.php
@@
-461,7
+461,7
@@
class HttpError extends MWException {
$content = htmlspecialchars( $this->content );
}
- print "<!DOCTYPE
HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\"
>\n".
+ print "<!DOCTYPE
html
>\n".
"<html><head><title>$header</title></head>\n" .
"<body><h1>$header</h1><p>$content</p></body></html>\n";
}